home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / zgetc2.z / zgetc2
Encoding:
Text File  |  2002-10-03  |  3.8 KB  |  133 lines

  1.  
  2.  
  3.  
  4. ZZZZGGGGEEEETTTTCCCC2222((((3333SSSS))))                                                          ZZZZGGGGEEEETTTTCCCC2222((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ZGETC2 - compute an LU factorization, using complete pivoting, of the n-
  10.      by-n matrix A
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      SUBROUTINE ZGETC2( N, A, LDA, IPIV, JPIV, INFO )
  14.  
  15.          INTEGER        INFO, LDA, N
  16.  
  17.          INTEGER        IPIV( * ), JPIV( * )
  18.  
  19.          COMPLEX*16     A( LDA, * )
  20.  
  21. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  22.      These routines are part of the SCSL Scientific Library and can be loaded
  23.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  24.      directs the linker to use the multi-processor version of the library.
  25.  
  26.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  27.      4 bytes (32 bits). Another version of SCSL is available in which integers
  28.      are 8 bytes (64 bits).  This version allows the user access to larger
  29.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  30.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  31.      only one of the two versions; 4-byte integer and 8-byte integer library
  32.      calls cannot be mixed.
  33.  
  34. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  35.      ZGETC2 computes an LU factorization, using complete pivoting, of the n-
  36.      by-n matrix A. The factorization has the form A = P * L * U * Q, where P
  37.      and Q are permutation matrices, L is lower triangular with unit diagonal
  38.      elements and U is upper triangular.
  39.  
  40.      This is a level 1 BLAS version of the algorithm.
  41.  
  42.  
  43. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  44.      N       (input) INTEGER
  45.              The order of the matrix A. N >= 0.
  46.  
  47.      A       (input/output) COMPLEX*16 array, dimension (LDA, N)
  48.              On entry, the n-by-n matrix to be factored.  On exit, the factors
  49.              L and U from the factorization A = P*L*U*Q; the unit diagonal
  50.              elements of L are not stored.  If U(k, k) appears to be less than
  51.              SMIN, U(k, k) is given the value of SMIN, giving a nonsingular
  52.              perturbed system.
  53.  
  54.      LDA     (input) INTEGER
  55.              The leading dimension of the array A.  LDA >= max(1, N).
  56.  
  57.      IPIV    (output) INTEGER array, dimension (N).
  58.              The pivot indices; for 1 <= i <= N, row i of the matrix has been
  59.              interchanged with row IPIV(i).
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ZZZZGGGGEEEETTTTCCCC2222((((3333SSSS))))                                                          ZZZZGGGGEEEETTTTCCCC2222((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      JPIV    (output) INTEGER array, dimension (N).
  75.              The pivot indices; for 1 <= j <= N, column j of the matrix has
  76.              been interchanged with column JPIV(j).
  77.  
  78.      INFO    (output) INTEGER
  79.              = 0: successful exit
  80.              > 0: if INFO = k, U(k, k) is likely to produce overflow if one
  81.              tries to solve for x in Ax = b. So U is perturbed to avoid the
  82.              overflow.
  83.  
  84. FFFFUUUURRRRTTTTHHHHEEEERRRR DDDDEEEETTTTAAAAIIIILLLLSSSS
  85.      Based on contributions by
  86.         Bo Kagstrom and Peter Poromaa, Department of Computing Science,
  87.         Umea University, S-901 87 Umea, Sweden.
  88.  
  89.  
  90. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  91.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  92.  
  93.      This man page is available only online.
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.